package com.atguigu.day12.abstract02.a2;

public abstract class Animal {
    String name;
    int age;
    public Animal(String name, int age) {
        this.name = name;
        this.age = age;
    }
    public Animal() {
    }
    public abstract void eat();
    public abstract void sleep();
    public void study(){
        System.out.println("动物学习....");
    }
    public static void sum(){
        System.out.println("sum");
    }
}
